The PEGetNthTableType4 function was specially designed to accept VB's native 4
Declare Function PEGetNthTableType4 Lib "crwrap32.dll" (ByVal printJob As Integer, ByVal TableN As Integer, TableType As PETableType4) As Integer
Specifies the handle of the print job for which you want to determine a table type. | |
Specifies the number of the table for which you want to determine the type. Table numbers start at 0. | |
Specifies the pointer to the PETableType4 structure. |
TRUE (1) if the call is successful, FALSE (0) if anything goes wrong.
The application can test DBType in thePETableType4 structure, or test the database DLL name used to create the report. DLL names have the following naming convention:
You must initialize this member to be the size of whatever it is. For example:
tableType.StructSize = PE_SIZEOF_TABLE_TYPE
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |